package sprinklerbee.model;

import java.util.*;

public class SensorRealTime {

	private int id;
	private Date createtime;
	private double temperature;
	private double rain;
	private double mositure;
	private Sensor sensor;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public double getTemperature() {
		return temperature;
	}

	public void setTemperature(double temperature) {
		this.temperature = temperature;
	}

	public double getRain() {
		return rain;
	}

	public void setRain(double rain) {
		this.rain = rain;
	}

	public double getMositure() {
		return mositure;
	}

	public void setMositure(double mositure) {
		this.mositure = mositure;
	}

	public Sensor getSensor() {
		return sensor;
	}

	public void setSensor(Sensor sensor) {
		this.sensor = sensor;
	}

}